package com.atmilan.quartz.model.entity.bellettini;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Bellettini商品映射对象
 * @Description: 
 * @author daigb
 * @date 2021-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BellettiniProduct extends Model<BellettiniProduct> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * sku
     */
    private String sku;

    /**
     * model
     */
    private String model;

    /**
     * model_code
     */
    private String modelCode;

    /**
     * model_color_code
     */
    private String modelColorCode;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 年份
     */
    private String year;

    /**
     * 季节
     */
    private String season;

    /**
     * 性别
     */
    private String gender;

    /**
     * 分类
     */
    private String category;

    /**
     * 标题
     */
    private String title;

    /**
     * designer_color
     */
    private String designerColor;

    /**
     * filter_colors
     */
    private String filterColors;

    /**
     *描述
     */
    private String description;

    /**
     * 材料
     */
    private String materials;

    /**
     * 产地
     */
    private String madeIn;

    /**
     * measures
     */
    private String measures;

    /**
     * 原价
     */
    private String marketPrice;

    /**
     * partner_discount
     */
    private Integer partnerDiscount;

    /**
     * 成本价
     */
    private String partnerPrice;

    /**
     * customer_discount
     */
    private Integer customerDiscount;

    /**
     * url
     */
    private String url;

    /**
     * images
     */
    private String images;

    /**
     * size_format
     */
    private String sizeFormat;

    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 最后拉取时间
     */
    private Date lastPushTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
